#ifndef MESSAGE_H
#define MESSAGE_H

#include "allocator.h"

class sgObject;

enum EMessage
{
    MSG_UNKNOWN,
    MSG_SELECTED,

    //GUI
    MSG_GUI_ENTITY_SELECTED,
    MSG_GUI_ARMY_SELECTED,
    MSG_GUI_CITY_SELECTED,
};

struct sgMessage:public SmallObject
{
    int type;
    sgObject *from;
    sgObject *to;
    int buf[4];
    virtual void destroy( );
};
#endif